package com.ruoyi.farm.api.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 评分维度对象 t_scoring_dimension
 * 
 * @author Andy
 * @date 2022-07-24
 */
public class ScoringDimension extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 维度名称 */
    @Excel(name = "维度名称")
    private String name;

    /** 占比 */
    @Excel(name = "占比")
    private BigDecimal proportion;

    /** 删除标志（0未删除，1已删除） */
    private Boolean delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setProportion(BigDecimal proportion) 
    {
        this.proportion = proportion;
    }

    public BigDecimal getProportion() 
    {
        return proportion;
    }
    public void setDelFlag(Boolean delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Boolean getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("proportion", getProportion())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
